package com.meituan.service.impl;

import com.meituan.dao.OrderRepository;
import com.meituan.pojo.entity.Order;
import com.meituan.service.OrderServiceRR;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceRRImpl implements OrderServiceRR {
    @Autowired
    OrderRepository orderRepository;

    @Override
    public Order save(Order order) {
        Order save = orderRepository.save(order);
        return save;
    }
}
